package cn.zhibang.yygh2.service.cmn.util;

import cn.zhibang.yygh2.model.model.cmn.UserData;
import com.alibaba.excel.EasyExcel;

public class TestRead {
    public static void main(String[] args){
        //1.读取文件路径
        String fileName = "F:\\excel\\01.xlsx";
        //2.调用方法实现读取操作
        EasyExcel.read(fileName, UserData.class, new ExcelListener()).sheet().doRead();
    }
}

